package in.muton.edushare.pages.user;

import in.muton.edushare.components.forms.usersettings.EMailForm;
import in.muton.edushare.components.forms.usersettings.NotifyForm;
import in.muton.edushare.components.forms.usersettings.PsswdForm;

import org.apache.wicket.PageParameters;

import com.edushare.common.constants.ApplicationConstants;

public class UserSettings extends UserBase {

	public UserSettings(PageParameters params) {
		super(params);
		add(new PsswdForm("pwdPanel",getModel()));
		add(new EMailForm("emailPanel", getModel()));
		add(new NotifyForm("notifyPanel",getModel()));
	}

	@Override
	public String getActivePage() {
		return "UserSettings";
	}

	@Override
	public String getPageTitle() {
		return getModel().getObject().getCompleteUserName() + " | Settings | "
			+ ApplicationConstants.APPLICATION_NAME;
	}

	@Override
	public String getUserRole() {
		return " : My Settings";
	}

}
